package com.hhkj.study.admin.resource.event;

import com.hhkj.study.admin.resource.entity.ResourceCourseVideo;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 异步更新视频url事件
 * @Author luowu
 * @Date 2024/9/19 涵 14:16:35
 */
public class AsyncUpdateVideoEvent extends ApplicationEvent {

    private List<? extends ResourceCourseVideo> resourceCourseVideoList;

    public AsyncUpdateVideoEvent(Object source, List<? extends ResourceCourseVideo> resourceCourseVideoList) {
        super(source);
        this.resourceCourseVideoList = resourceCourseVideoList;
    }


    public List<? extends ResourceCourseVideo> getResourceCourseVideoList() {
        return resourceCourseVideoList;
    }
}
